package com.css.fxfzypg.modules.rating.task.model.vo;

import com.css.fxfzypg.modules.rating.library.model.entity.KpIndex3Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class KpIndexScoreVo {
    // 一级指标id
    private String index1Id;
    // 一级指标名称
    private String index1Name;
    // 一级指标分数
    private BigDecimal index1Score;

    // 二级指标id
    private String index2Id;
    // 二级指标名称
    private String index2Name;
    // 二级指标分数
    private BigDecimal index2Score;

    private String index3Id; // 3级id
    private BigDecimal index3Score; // 3级指标分值
    private String index3Standard; // 评分标准
    private KpIndex3Data kpIndex3Data; // 3级指标数据
    private boolean show = false;
    private String index3Kpi3dId;
    private String remark;
    private String isSystem;
    private String name3Id;
    private BigDecimal expertScore; // 专家评分
    private List<SystemScore> systemScoreList = new ArrayList<>(); // 系统得分列表

    @Data
    public static class SystemScore {
        private String provinceName; // 省名称
        private BigDecimal systemScore; // 系统评分
    }
}
